package proxy.test;

import com.gupao.edu.study.proxy.staticed.NoNameServiceimpl;
import com.gupao.edu.study.proxy.staticed.NoNameServiceimplProxy;
import org.junit.Test;

public class StaticedDemo {
    @Test
    public void proxyStaticedTest(){
        NoNameServiceimpl noNameService = new NoNameServiceimpl();
        noNameService.findSomeList("111111");
        System.out.println("-----------------------------");
        NoNameServiceimplProxy noNameServiceimplProxy = new NoNameServiceimplProxy(noNameService);
        noNameServiceimplProxy.findSomeList();
    }
}
